6 REM <CTRL-M>=========================<CTRL-M><CTRL-M>TYPE "5" AND <RETURN> TO<CTRL-M>GET RID OF THE DUMB<CTRL-M>MISTAKE IN LINE 5!<CTRL-M><CTRL-M>=========================<CTRL-J>
100 TEXT : HOME : CLEAR
110 Q$ = CHR$(34):MF = 4541560: IF PEEK( -1101) = 6 THEN PR = 1
120 REM <CTRL-M><CTRL-M>================<CTRL-M> "CLOSE-ENUF"<CTRL-M><CTRL-M>BASED ON AN IDEA<CTRL-M>BY THOMAS EDISON<CTRL-M>================<CTRL-J>
130 REM <CTRL-M><CTRL-M>PAUL RAYMER<CTRL-M><CTRL-M>PAUL'S ELECTRIC COMPUTER<CTRL-M>3464 TOWNHOUSE DR<CTRL-M>LAS VEGAS NV 89121<CTRL-M><CTRL-M>
140 REM IX/IX/MCMLXXXII<CTRL-J>
150 VTAB 3: PRINT Q$"CLOSE-ENUF...A NEW APPLE LANGUAGE";Q$
2030 VTAB 5: PRINT "WHEN YOU MAKE A TINY TYPING MISTEAK?": PRINT : PRINT "TYPE ANY WORD AT ALL WHICH STARTS WITH A ";Q$;"P";Q$;", A SPACE, AND WHATEVER YOU WANT TO PRIMT."
2040 SPEED= 255
2050 VTAB 10: PRINT L$
2060 PRINT CHR$(93);: INPUT "";A$
2070 FOR X = 1 TO LEN(A$)
2080 Z$ = MID$ (A$,X,1)
2090 IF Z$ = CHR$(32) THEN W$ = RIGHT$(A$, LEN(A$) -X): GOTO 2110
2100 NEXT X
2110 PRINT W$
2120 FOR Z = 1 TO 1000: NEXT Z
2130 VTAB 20: INVERSE : PRINT " DID IT WORK? ";: NORMAL : GET AN$
2140 IF AN$ < >"Y" THEN 2000
2150 GOTO 100
3000 REM <CTRL-M><CTRL-M>=======<CTRL-M>GO NEAR<CTRL-M>=======<CTRL-J>
3010 HOME
3020 IF PR = 1 THEN PRINT "One of the main faults with the Apple and its present operating system is thatno latitude for indecision is permitted.": PRINT : GOTO 3040
3030 PRINT "ONE OF THE MAIN FAULTS WITH THE APPLE AND ITS PRESENT OPERATING SYSTEM IS THATNO LATITUDE FOR INDECISION IS PERMITTED.": PRINT
3040 IF PR = 1 THEN PRINT "This makes it very awkward for the one who is programming and is not sure to which line to go next.": PRINT : GOTO 3060
3050 PRINT "THIS MAKES IT VERY AWKWARD FOR THE ONE WHO IS PROGRAMMING AND IS NOT SURE TO WHICH LINE TO GO NEXT.": PRINT
3060 PRINT "GO NEAR SOLVES THAT PROBLEM! == ====": PRINT
3070 VTAB 20: HTAB 1: PRINT "PRESS ALMOST ANY NUMBER TO CONTINUE ";: GET AN$: IF VAL(AN$) <1 THEN PRINT CHR$(7); CHR$(7); CHR$(7);: VTAB 21: HTAB 18: PRINT "======": GOTO 3070
3080 HOME
3090 PRINT "GRAPHIC DEMO FOLLOWS:": PRINT
3100 INPUT "NAME OF ANY STATE? ";S$
3110 PRINT : SPEED= 76
3120 PRINT "100 INPUT ";Q$;"STATE? ";Q$;";ST$"
3130 PRINT "110 IF ST$ < THAN ALASKA GO NEAR 160"
3140 PRINT "120 IF ST$ = ALASKA THEN PRINT ";Q$;"WOW!";Q$
3150 PRINT "130 IF ST$ < ALASKA THEN PRINT ";Q$;"SMALL";Q$
3160 PRINT "140 IF ST$ > ALASKA THEN TELL WHOEVER IS RUNNING THE PROGRAM HE OR SHE IS TOTALLY UNINFORMED"
3170 SPEED= 255
3180 PRINT "150 REM"
3190 PRINT "160 REM"
3200 PRINT "170 REM"
3210 PRINT "180 REM"
3220 IF S$ = "ALASKA" THEN VTAB 15: HTAB 6: PRINT "ANSWER NEAR HERE?": FOR Z = 1 TO 1000: NEXT Z
3230 VTAB 14: HTAB 6: PRINT "ANSWER DUE SOON, HANG IN THERE": FOR Z = 1 TO 1000: NEXT Z
3240 VTAB 13: HTAB 6: PRINT "COMING UP WITH ANSWER SOON"
3250 FOR Z = 1 TO 2000: NEXT Z
3260 R = INT(2 * RND(1)) +1
3270 IF R = 1 THEN VTAB 15: HTAB 6: PRINT "LOOKING FOR LINE 160!": VTAB 16: HTAB 1: PRINT "190 ANSWER IS ";S$
3280 VTAB 16: HTAB 1: PRINT "190 ANSWER IS ";S$
3290 FOR X = 90 TO 60 STEP -1
3300 VTAB 16: HTAB 2: PRINT X;: FOR Z = 1 TO 50: NEXT Z: NEXT X
3310 SPEED= 255
3320 VTAB 20: CALL -958: INVERSE : PRINT " DID IT WORK? ";: NORMAL : GET AN$
3330 IF AN$ < >"Y" THEN HOME : GOTO 3080
3340 GOTO 100
4000 REM <CTRL-M><CTRL-M>====<CTRL-M>LOST<CTRL-M>====<CTRL-J>
4010 HOME
4020 PRINT "WE ALL KNOW THAT THERE ARE SO MANY KEYS ON THE APPLE KEYBOARD IT IS AMAZING THAT ANYTHING EVER GETS SPELLED RIGHT.": PRINT
4030 PRINT "BECAUSE OF THIS FRAILTY OF THE COMPUTER, THE ";Q$;"LOST";Q$;" ROUTINE IS NOW PRESENTED.": PRINT
4040 PRINT "TYPE ANYTHING YOU WANT...AFTER ALL, IT IS YOUR COMPUTER, BUT WHEN YOU TYPE THE LETTER ";Q$;"L";Q$;" THE WORD ";Q$;"LIST";Q$;" WILL BE SPELLED OUT FOR YOU ACCURATELY.": PRINT
4050 FOR Z = 1 TO 2000: NEXT Z
4060 PRINT "EVENTUALLY. ": FOR Z = 1 TO 1000: NEXT Z: PRINT
4070 PRINT "THIS PORTION OF THE PROGRAM WILL THEN LIST."
4080 VTAB 20: HTAB 1: PRINT "PRESS ALMOST ANY KEY TO CONTINUE ";: GET AN$
4090 HOME
4100 VTAB 3: HTAB 1: PRINT CHR$(93);: GET L$
4110 IF L$ < >"L" THEN PRINT CHR$(7): GOTO 4100
4120 VTAB 3: HTAB 2: PRINT "L"
4130 R = INT(26 * RND(1)) +65
4140 VTAB 3: HTAB 3: PRINT CHR$(R)
4150 IF R < >73 THEN 4130
4160 R = INT(26 * RND(1)) +65
4170 VTAB 3: HTAB 4: PRINT CHR$(R)
4180 IF R < >83 THEN 4160
4190 R = INT(26 * RND(1)) +65
4200 VTAB 3: HTAB 5: PRINT CHR$(R)
4210 IF R < >84 THEN 4190
4220 LIST 4000,4090
4230 SPEED= 255
4240 VTAB 20: CALL -958: INVERSE : PRINT " DID IT WORK? ";: NORMAL : GET AN$
4250 IF AN$ < >"Y" THEN HOME : GOTO 4090
4260 GOTO 100
4270 STOP
5000 REM <CTRL-M><CTRL-M>=====<CTRL-M>APPROX<CTRL-M>======<CTRL-J>
5010 HOME
5020 PRINT "HAVE YOU EVER WONDERED WHY YOUR APPLE HAS TO BE SO DARN"
6080 VTAB 9: HTAB 5: PRINT "(2) RUN -- BACK TO RAT RACE"
6090 VTAB 12: HTAB 2: PRINT "SELECT BY NUMBER ";: GET AN$
6100 IF AN$ = "1" THEN SPEED= 50: GOTO 6200
6110 SPEED= 255
6200 GOTO 100
7000 REM <CTRL-M><CTRL-M>================<CTRL-M>ONERR KEEP GOING<CTRL-M>================<CTRL-J>
7010 HOME
7015 IF PR = 1 THEN PRINT "Don't you think that after you spend a thousand bucks on a computer you ought to get one which doesn't care if you make a mistake or two?": GOTO 7030
7020 PRINT "DON'T YOU THINK THAT AFTER YOU SPEND A THOUSAND BUCKS ON A COMPUTER YOU OUGHT TO GET ONE WHICH DOESN'T CARE IF YOU MAKE A MISTAKE OR TWO?"
7030 PRINT : PRINT "SO DO WE!"
7040 FOR Z = 1 TO 1000: NEXT Z
7050 PRINT : PRINT "TYPE THE LINE NUMBER (5) AND THEN ANYTHING YOU WANT, LIKE --": PRINT : PRINT "5 X = 100 / 0"
8130 PRINT : PRINT "YOUR COMPUTER WILL NOW PLACE THE LETTER": PRINT Q$;L$;Q$;" AT RANDOM ON THE SCREEN": VTAB 20: HTAB 1: PRINT "PRESS SPACE BAR TO CONTINUE ";: GET AN$
8140 H = INT(37 * RND(1)) +1
8150 V = INT(19 * RND(1)) +1
8160 VTAB V: HTAB H: PRINT Q$;L$;Q$
8170 VTAB 20: HTAB 1: PRINT "NOW THAT THE LITTLE DEVIL IS IN PLACE": FOR Z = 1 TO 2000: NEXT Z
8180 VTAB 20: HTAB 1: PRINT "THE SEARCH & DESTROY WILL LOCATE IT AND": FOR Z = 1 TO 2000: NEXT Z
8190 VTAB 20: HTAB 1: CALL -868: PRINT "ZAP IT (AND ALL ";L$;"'S) OUT OF YOUR": PRINT "SYSTEM FOREVER!": FOR Z = 1 TO 2000: NEXT Z
8200 FOR X = 1024 TO 2038
8210 IF PEEK(X) = ASC(L$) +128 THEN POKE X, ASC(L$): GOTO 8230
8220 POKE X,174
8230 NEXT X
8240 FOR X = 2039 TO 1024 STEP -1
8250 IF PEEK(X) = ASC(L$) THEN PRINT CHR$(7);: POKE X,170: GOTO 8270
8260 POKE X,160
8270 NEXT X
8280 FOR X = 1024 TO 2039: POKE X,160: NEXT X
8290 VTAB 3: HTAB 1: PRINT "LET'S TRY YOUR COMPUTER NOW...": PRINT "TYPE SEVERAL WORDS WITH THE LETTER YOU JUST ZAPPED..."
8300 PRINT
8310 GET W$
8320 IF W$ = CHR$(13) THEN 8360
8330 IF W$ = L$ THEN PRINT "?";: GOTO 8310
8340 PRINT W$;
8350 GOTO 8310
8360 PRINT
8370 SPEED= 255
8375 WS$ = " DID IT WORK? "
8380 PRINT : VTAB 20: HTAB 1: INVERSE
8381 FOR XX = 1 TO 14
8382 IF MID$ (WS$,XX,1) = L$ THEN PRINT "?";: GOTO 8384
8383 PRINT MID$ (WS$,XX,1);
8384 NEXT XX
8385 NORMAL
8386 GET AN$
8390 IF AN$ < >"Y" THEN HOME : GOTO 8090
8400 GOTO 100
9000 REM <CTRL-M><CTRL-M>=====<CTRL-M>LEGAL<CTRL-M>=====<CTRL-J>
9010 HOME
9020 IF PR = 1 THEN PRINT "This program should not be used in conjunction with any program using Pascal, Cobal, LOGO, CP/M, USDA or electricity.": PRINT : GOTO 9040
9030 PRINT "THIS PROGRAM SHOULD NOT BE USED IN CONJUNCTION WITH ANY PROGRAM USING PASCAL, COBAL, LOGO, CP/M, USDA OR ELECTRICITY.": PRINT
9040 IF PR = 1 THEN PRINT "Use of this new language is confined to the purchaser of this program, members of his/her computer group and his/her close friends.": PRINT : GOTO 9060
9050 PRINT "USE OF THIS NEW LANGUAGE IS CONFINED TO THE PURCHASER OF THIS PROGRAM, MEMBERS OF HIS/HER COMPUTER GROUP AND HIS/HER CLOSE FRIENDS.": PRINT
9060 FOR Z = 1 TO 3000: NEXT Z
9070 IF PR = 1 THEN PRINT "Certain relatives, neighbors, pen-pals and computer store owners, operators, magazine publishers, schools and radio and TV stations.": GOTO 9090
9080 PRINT "CERTAIN RELATIVES, NEIGHBORS, PEN-PALS AND COMPUTER STORE OWNERS, OPERATORS, MAGAZINE PUBLISHERS, SCHOOLS AND RADIO AND TV STATIONS."
9090 FOR Z = 1 TO 3000: NEXT Z
9100 PRINT : INVERSE : PRINT "ANY UNAUTHORIZED PERSONS USING THIS PROGRAM WILL BE PERSECUTED AND VIOLATED.": NORMAL